Eloquent::whereYear PHP Method

whereYear() public static method

Add a "where year" statement to the query.
public static whereYear ( string $column, string $operator, integer $value, string $boolean = 'and' ) : Builder | static
$column string
$operator string
$value integer
$boolean string
return Illuminate\Database\Query\Builder | static
        public static function whereYear($column, $operator, $value, $boolean = 'and')
        {
            return \Illuminate\Database\Query\Builder::whereYear($column, $operator, $value, $boolean);
        }
Eloquent