option = $option; $this->validate = $validate; $this->transform = $transform; } function get() { if ( $this->option->get() ) { $content = $this->option->get(); if ( $this->validate->from_string( $content ) ) { return $this->transform->get( $content ); } } return null; } }