Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

methods

Create a public method named filterHouseColor that accepts a single parameter named $color.

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

Could you please be more specific with your question and/or the problem you are having. Also it's good to add your code and the link to the specific question/quiz/challenge you are referring to.

This will greatly help us to assist you. :)

Jason - Treehouse Community Moderator

1 Answer

<?php

// add code below this comment Class Subdivision { public $houses = array(); } public function filterHouseColor($color);

?>

thats my code